﻿<%@ Page Title="" Language="C#" MasterPageFile="~/shrh.Master" AutoEventWireup="true"
    CodeBehind="ProductTopCategory.aspx.cs" Inherits="WebApp.Product.ProductTopCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="pr2fenlei">
        <div class="pr2_fe1">
            <div class="pf1">
                <asp:Literal ID="ltlCategoryName" runat="server"></asp:Literal></div>
            <div class="pf2">
                <asp:Repeater ID="rptCategory" runat="server" OnItemDataBound="rptCategory_ItemDataBound">
                    <ItemTemplate>
                        <div class="pf2_1">
                            <h2>
                                <a href="ProductCategory.aspx?CID=<%# Eval("CategoryId")%>">
                                    <%#Eval("Name") %></a></h2>
                            <ul>
                                <asp:HiddenField ID="hfCagegoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                                <asp:Repeater ID="rptSubCategory" runat="server" OnItemDataBound="rptSubCategory_ItemDataBound">
                                    <ItemTemplate>
                                        <li>
                                            <asp:HiddenField ID="hfCagegoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                                            <asp:HyperLink ID="HLSubCategoryId" runat="server"><%#Eval("Name")%></asp:HyperLink></li></ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <li>
                                            <asp:HiddenField ID="hfCagegoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                                            <asp:HyperLink ID="HLSubCategoryId" runat="server"><%#Eval("Name")%></asp:HyperLink></li></AlternatingItemTemplate>
                                </asp:Repeater>
                            </ul>
                        </div>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                        <div class="pf2_1">
                            <h2>
                                <a href="ProductCategory.aspx?CID=<%# Eval("CategoryId")%>">
                                    <%#Eval("Name") %></a></h2>
                            <ul>
                                <asp:HiddenField ID="hfCagegoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                                <asp:Repeater ID="rptSubCategory" runat="server" OnItemDataBound="rptSubCategory_ItemDataBound">
                                    <ItemTemplate>
                                        <li>
                                            <asp:HiddenField ID="hfCagegoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                                            <asp:HyperLink ID="HLSubCategoryId" runat="server"><%#Eval("Name")%></asp:HyperLink></li></ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <li>
                                            <asp:HiddenField ID="hfCagegoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                                            <asp:HyperLink ID="HLSubCategoryId" runat="server"><%#Eval("Name")%></asp:HyperLink></li></AlternatingItemTemplate>
                                </asp:Repeater>
                            </ul>
                        </div>
                    </AlternatingItemTemplate>
                </asp:Repeater>
            </div>
            <div class="pf3">
                <asp:Image ID="Image5" ImageUrl="~/image/fltop3.jpg" runat="server" />
            </div>
            <div class="chanp04">
                <div class="zuijin1">
                    <asp:Image ID="Image6" ImageUrl="~/image/zuijin1.gif" runat="server" />
                </div>
                <div class="zuijin2">
                    <div class="z_bt">
                        <div class="zjt">
                            最近销售</div>
                        <div class="zjm">
                            <%--<a href="">
                                <asp:Image ID="Image7" ImageUrl="~/image/more.gif" runat="server" />
                            </a>--%>
                        </div>
                    </div>
                    <ul>
                        <asp:ListView ID="ListView6" runat="server">
                            <LayoutTemplate>
                                <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
                            </LayoutTemplate>
                            <ItemTemplate>
                                <li>
                                    <div class="zj_img">
                                        <a href="productinfor_rh_<%# Eval("UID")%>.htm">
                                            <asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("RecommendPicture1")  %>'
                                                Width="84" Height="66" /></a></div>
                                    <div class="zj_name">
                                        <a href="productinfor_rh_<%# Eval("UID")%>.htm">
                                            <%#spliteStr(Eval("Name").ToString())%></a></div>
                                    <div class="zj_time">
                                    </div>
                                </li>
                            </ItemTemplate>
                        </asp:ListView>
                    </ul>
                </div>
                <div class="zuijin3">
                    <asp:Image ID="Image8" ImageUrl="~/image/zuijin3.gif" runat="server" />
                </div>
            </div>
        </div>
        <div class="pr2_fe2">
            <div class="pr2_jdt">
                <div class="pr2_jdt1">
                    <div class="content_right">
                        <div class="ad">
                            <ul class="slider">
                                <li><a href="#">
                                    <asp:Image ID="Image1" ImageUrl="~/image/01.jpg" runat="server" />
                                </a></li>
                                <li><a href="#"><asp:Image ID="Image2" ImageUrl="~/image/02.jpg" runat="server" /></a></li>
                                <li><a href="#">
                                    <asp:Image ID="Image3" ImageUrl="~/image/03.jpg" runat="server" /></a></li>
                                <li><a href="#">
                                    <asp:Image ID="Image4" ImageUrl="~/image/04.jpg" runat="server" /></a></li>
                            </ul>
                            <ul class="num1">
                              
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="pr2_news">
                    <div class="pr2news1">
                        <div class="pr2news_a">
                            最新公告</div>
                        <div class="pr2news_b">
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/moreSubject.htm">
                                <asp:Image ID="Image7" ImageUrl="~/image/more.gif" runat="server" />
                            </asp:HyperLink>
                        </div>
                    </div>
                    <div class="pr2news2">
                        <ul>
                            <asp:Repeater ID="rptNews" runat="server">
                                <ItemTemplate>
                                    <li><a title="<%# Eval("tilte") %>" id="A2" href="/news.<%# Eval("id")%>.htm"
                                        alt="<%# Eval("tilte") %>">
                                        <%#Eval("tilte")%></a></li></ItemTemplate>
                            </asp:Repeater>
                            <%--<li><a href="">商城飓风行动给你惊喜连连看！</a></li>
                            <li><a href="">商城飓风行动给你惊喜连连看！</a></li>
                            <li><a href="">商城飓风行动给你惊喜连连看！</a></li>
                            <li><a href="">商城飓风行动给你惊喜连连看！</a></li>
                            <li><a href="">商城飓风行动给你惊喜连连看！</a></li>--%>
                        </ul>
                    </div>
                </div>
            </div>
            <asp:Repeater ID="rptCategoryProduct" runat="server" OnItemDataBound="rptCategoryProduct_ItemDataBound">
                <ItemTemplate>
                    <div class="pr2_show1">
                        <div class="pr2_s1">
                            <%#Eval("Name") %></div>
                        <div class="pr2_s2">
                            <a href="ProductCategory.aspx?CID=<%# Eval("CategoryId")%>">更多</a></div>
                    </div>
                    <div class="pr2_show2">
                        <ul>
                            <asp:HiddenField ID="hfCagegoryId" runat="server" Value='<%# Eval("CategoryId")%>' />
                            <asp:Repeater ID="rptProductByCategory" runat="server" OnItemDataBound="rptProductByCategory_ItemDataBound" >
                                <ItemTemplate>
                                    <li>
                                        <div class="pr2_showimg">
                                            <a href="productinfor_rh_<%# Eval("UID")%>.htm">
                                                <asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("RecommendPicture1")  %>'
                                                    Width="179" Height="157" /></a></div>
                                        <div class="pr2_showname">
                                            <a href="productinfor_rh_<%# Eval("UID")%>.htm">
                                                <%#spliteStr(Eval("Name").ToString())%></a></div>
                                        <div class="pr2_showqian">
                                            ￥<asp:Label ID="lbePrice" runat="server" Text='<%#Eval("eprice") %>'></asp:Label>
                                            <asp:Image ID="Image9" ToolTip='请拨打公司的服务热线：400-6676-996进行询价！' runat="server" Visible="false" ImageUrl="~/image/n_xunjia.gif" />
                                        </div>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
</asp:Content>
